<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
  	<title>默存</title>
	<link th:href="@{/images/favicon.ico}" rel="shortcut icon">
    <link th:href="@{/bootstrap/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/font-awesome/css/font-awesome.min.css}" rel="stylesheet">
	<link th:href="@{/css/style.css}" rel="stylesheet">
	<script th:src="@{/js/jquery.min.js}"></script>
	<script th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
	<script th:src="@{/js/index.js}"></script>
</head>
<body id="wrapper">
	<div class="top-header">
		<div class="container">
			<nav class="navbar navbar-expand-lg navbar-light">
				<a class="navbar-brand logo-title" href="index"  style="color: #ffffff">默存</a>
				<div class="collapse navbar-collapse">
					<ul class="navbar-nav mr-auto"></ul>
					<span class="navbar-text">
						<ul class="navbar-nav mr-auto">
							<li class="nav-item"><a class="nav-link" href="index" style="color: #ffffff">首页</a></li>
							<li class="nav-item"><a class="nav-link" href="contact" target="_blank" style="color: #ffffff">联系我</a></li>
							<li class="nav-item" th:if="${session.user} eq null"><a class="nav-link" href="login" target="_blank" style="color: #ffffff">登录</a></li>
							<li class="nav-item" th:if="${session.user} ne null"><a class="nav-link" href="homt" target="_blank" style="color: #ffffff">个人中心</a></li>
							<li class="nav-item" th:if="${session.user} ne null"><a class="nav-link" href="logout" style="color: #ffffff">退出</a>
						</ul>
					</span>
				</div>
			</nav>
		</div>
	</div>
	<header id="masthead" class="site-header" role="banner" style="background-position: 50% -50px;">
		<div class="overlay"></div>
		<div class="container">
			<div class="site-branding">
				<!--<a href="index" title="默存"><img class="site-logo" src="images/logo.png" alt="默存"></a>-->
			</div>
		</div>
	</header>
	<!-- 内容 -->
	<div id="page-content" class="index-page">
		<section class="box-content box-5 box-style-3" id="nav-blog">
			<div id="container" class="container"></div>
			<nav>
				<ul class="pagination justify-content-center">
					<li class="page-item"><a onclick="homePage()" class="page-link" >首页</a></li>
					<li class="page-item"><a onclick="prePage()" class="page-link" >上一页</a></li>
					<li class="page-item"><a href="#" id="pageNum" class="page-link" ></a></li>
					<li class="page-item"><a onclick="nextPage()" class="page-link" >下一页</a></li>
					<li class="page-item"><a onclick="tailPage()" class="page-link" >尾页</a></li>
				</ul>
			</nav>
		</section>
	</div>
	<footer>
		<div class="wrap-footer">
			<div class="container">
				<div class="row">
					<div class="col-md-4">
						<span class="copyright">Copyright &copy 2019 <a href="https://blog.csdn.net/typ1805" target="_blank" title="默存">默存</a></span>
					</div>
					<div class="col-md-4">
						<ul class="nav">
							<li class="nav-item">博客链接：</li>
							<li class="nav-item" style="padding-left: 10px"><a href="https://gitee.com/typ1805" target="_blank">码云</a></li>
							<li class="nav-item" style="padding-left: 10px"><a href="https://github.com" target="_blank">GitHub</a></li>
							<li class="nav-item" style="padding-left: 10px"><a href="https://blog.csdn.net/typ1805" target="_blank">CSDN</a></li>
							<li class="nav-item" style="padding-left: 10px"><a href="https://www.cnblogs.com/typ1805" target="_blank">博客园</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</footer>
	<input type="hidden" id="prePage">
	<input type="hidden" id="nextPage">
	<input type="hidden" id="tailPage">
</body>
</html>